﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore;
using PMS.Domain.AggregatesModel.ProjectAggregate;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace PMS.Infrastructure.EntityConfigurations
{
    public class ProjectAuditAdviceEntityConfiguration : IEntityTypeConfiguration<ProjectAuditAdvice>
    {
        public void Configure(EntityTypeBuilder<ProjectAuditAdvice> builder)
        {
            builder.ToTable("ProjectAuditAdvice");
            builder.HasKey(o => o.Id);                           
        }
    }
}
